home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
pbank21b.zip
/
HISTORY.DOC
< prev
Wrap
Text File
|
1993-06-16
|
7KB
|
134 lines
;*****************************************************************************
THE TIME BANK
Please feel free to make modifications to this code. It is freeware.
If you make changes and post them, please note your modifications in this
history file. Posted modifications should be posted on Saltair and version
numbers should be based upon the Saltair postings.
Pete
Version 2.1b by Peter Veeck 06/16/93
Sorry if there are too many changes comming out right now. If I don't do
it now, I won't do it at all. I know that there have been complaints
about people putting out too many program updates. Those who want to
keep running old or buggy code are welcome to do so and do not have to
download this update.
Added ability to read environment variable to get settings.
To use this, include in your BOARD.BAT:
SET PBANK=120 60 60 5 4 1
| | | | | |
Max time to allow program to Bank | | | | |
Max time to deposit | | | |
Max time to withdraw | | |
Minimum amount a user can reduce his time to | |
0-4 indicates NOTES line number to use for bank storage |
Any non zero value will turn error logging on
Note: If you have been using previous versions of this PPL time bank
your user records are stored in NOTES line 4. If you use the
environment variable, YOU MUST enter a 4 in order to continue
to access information that has been previously stored.
A use for the environment variable might be to reset
the time limits in events to allow for different bank
settings at different times of the day. It also will
allow minimal customization if you don't have the PPL
compiler. I recommend getting the compilier.
Added error control if too many items in NOTES line or
command line. Even though Scott wrote the compiler
idiot proof to handle people like me.
If you get an error reporting:
Insufficient Bank storage space. Notify Sysop.
it means that the usertoken array is too small to handle
the number of tokens on the NOTES line. I set it for
10 tokens. This should not be a problem until more
programs start using the NOTES section.
An error of:
Insufficient Bank storage space. Notify Sysop.
Indicates that there is insufficient string space on the
selected NOTES line to store the bank. Somebody else
got there first. This error will only occur for a
user setting up a new bank account.
Ever wanted to reward users for reading the news,
bulletins, or doing something else? I have Included
Award.ppe (with source). Award.ppe updates the time bank
without regard for any max bank settings. It can be
included in a text file:
!drive:\pathname\award.ppe time-to-add [display-file-id]
Award.ppe will credit (or debit) the time bank time-to-add
and display a default file AWARD from the directory that
Award.ppe is in. If you have included a display-file-id
(1 - 99) on the command line it will display that file
instead. Award.exe logs the time awarded and the total
bank time in the caller log. Award.ppe is supposed to
be language and graphics compliant.
Version 2.1a by Peter Veeck 06/15/93
Added checking to see if Notes PSA installed.
Provided for checking and restoration of other information
kept on NOTES line.
Can now change which NOTES line is used for storage by
changing the notes_line parameter and recompiling.
Put "BANK" help file in PCBoard help file directory. Can
call it from the PCB prompt or from the bank.
Combined Interactive and command line versions.
Command line syntax:
"BA"nk "S"how - Show bank
"BA"nk "D"eposit "nn" - Deposit time
"BA"nk "W"ithdraw "nn" - Withdraw time
Set so will only accept command line entries in CTTY mode.
Cleaned up some code errors.
Added ability to turn error logging off by setting
error_log parameter to FALSE and recompiling.
Fixed logging of deposits and withdrawals.
Added Goodbye command to bank.
Added @BOARDNAME@ macro to screen.
Changed time to save for logoff and reconnect to 5 min.
This default can be changed by changing the keep_time
parameter and recompiling.
Be advised, the max deposit and max withdraw can be defeated by exiting
the door and reentering. I think the max bank time is pretty solid.
If you want to change the screen, just load the pps file in PCBedit,
edit the screen and recompile.
If someone will do the translating, I'll set up this bank to support
PCBoard's language options.
Version 2.0b by: Peter Veeck 06/14/93
Bug fix -
Would not compile correctly with updated
PPLC. Fixed errors in PUTUSER command and LOG.
Would not run with updated PCBOARD. Added elements
to USERTOKEN() array.
Version 2.0a by: RVM 05/26/93
Noticed users with 15 minutes left were being prompted
to deposit 90 minutes into bank. If they did so they
stored 90 minutes and then were logged off for exceding
time limits. Added code to determine available time
left to user and only allow them to deposit time left
minus 2 minutes. System will prompt with correct value.
Also, write to log if user tries to get tricky <grin>.
Version 2.0 by: Eyal Levi 05-10-93
Changed to interactive entry
Version 1.0 by: Peter Veeck
PCBoard Programming Language (PPL) time bank
commandline oriented.